package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.domain.Order;
import com.itheima.domain.vo.OrderVo;

public interface OrderService extends IService<Order> {

    public R<Page<Order>> adminOrderPageSelect(String id, Integer page, Integer pageSize);

    public R<String> adminOrderUpdateStatus(Order order);

    public R<String> clientSubmitOrder(String token,Order order);

    public R<Page<OrderVo>> clientOrderPageSelect(String token, Integer page, Integer pageSize);
}
